export default <configGroup>{
  name: '图片设置',
  configs: [{
    fieldType: 'input',
    fieldName: '图片地址',
    fieldCode: 'backgroundImage',
    defaultValue: '',
  },{
    fieldType: 'image',
    fieldName: '上传图片',
    fieldCode: 'backgroundImage',
    defaultValue: '',
  }, {
    fieldType: 'input',
    fieldName: '提示文字',
    fieldCode: 'alt',
    defaultValue: '图片',
  }, {
    fieldType: 'select',
    fieldName: '是否重复',
    fieldCode: 'backgroundRepeat',
    options: [
      { value: 'repeat', name: '双向重复' },
      { value: 'repeat-x', name: '水平重复' },
      { value: 'repeat-y', name: '垂直重复' },
      { value: 'no-repeat', name: '不重复' }
    ],
    defaultValue: 'no-repeat',
  }, {
    fieldType: 'select',
    fieldName: '图片位置',
    fieldCode: 'backgroundPosition',
    options: [
      { value: 'top', name: '上' },
      { value: 'bottom', name: '下' },
      { value: 'left', name: '左' },
      { value: 'right', name: '右' },
      { value: 'center', name: '居中' }
    ],
    defaultValue: 'center',
  }, {
    fieldType: 'select',
    fieldName: '图片大小',
    fieldCode: 'backgroundSize',
    options: [
      { value: 'auto', name: '原始大小' },
      { value: 'cover', name: '完全覆盖' },
      { value: 'contain', name: '缩放适应' },
    ],
    defaultValue: 'contain',
  }]
}